package com.wangjie.string;

public class StringDemo02 {

    public static void main(String[] args) {
        String str ="abc";
        String str2 = "abc";
        byte [] bytes = {'a','b','c'};
        String str3 = new String(bytes);
        System.out.println(str ==str2);
        System.out.println(str ==str3);
        System.out.println(str2 ==str3);
    }
}
